<template>
  <div id="introduce" class="clearfix">
    <div class="figure"></div>
    <h2 class="title">
      <slot name="title">
        随时抵押，随时解押，立即获得奖励。
      </slot>
    </h2>
    <div class="msg">
      <slot name="msg">
        <!-- <p>
          今天是在TRON上挖珍珠的好日子。
        </p>
        <p>
          Pearl.finance的智能合约已通过SlowMist审核。检查审核报告此处。
        </p> -->
      </slot>
    </div>
    <slot name="justSwap"> </slot>
  </div>
</template>

<script>
export default {};
</script>

<style lang="scss" scoped>
.clearfix::after{
  content: "";
  height: 0;
  display: block;
  clear: both;
}
#introduce {
  text-align: center;
  .figure {
    margin-top: 80px;
    height: 125px;
    background: url('../../assets/images/farmer.png') no-repeat center;
  }
  .title {
    font-size: 36px;
    font-weight: 700;
    color: #5b2639;
    margin-bottom: 10px;
  }
  .msg {
    line-height: 0.5;
    font-size: 18px;
    color: #aa8592;
    font-weight: 400;
    padding-top: 10px;
    padding-bottom: 20px;
  }
  .just-swap:hover {
    background: #f7f2f4;
  }
  .just-swap {
    width: 300px;
    height: 56px;
    box-sizing: border-box;
    padding: 0 15px;
    border-radius: 12px;
    background-color: #f0e7ea;
    box-shadow: 4px 4px 8px #e2cfd5, -8px -8px 16px #f7f2f4;
    margin: 0 auto;
    margin-bottom: 40px;
    a {
      width: 100%;
      height: 100%;
      font-size: 16px;
      color: #d1004b;
      font-weight: 700;
      text-align: center;
      line-height: 56px;
    }
  }
}
</style>
